package relation.d4_implementation;

public class KeyBoard implements USB {
    private String name;
    public void connect() {
        System.out.println("键盘连接成功！");
    }
    public void KeyDown(){
        System.out.println("按下键盘按键！");
    }


    public KeyBoard(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
